<%--
  Created by IntelliJ IDEA.
  User: sun
  Date: 2020/5/9
  Time: 4:36 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>login</title>
</head>
    <body>
    <h1><fmt:message key="welcomeinfo"/></h1>
    <form action="" method="post">
    <fmt:message key="username"/> ：<input type="text" name="username"><br/>
    <fmt:message key="password"/> ：<input type="password" name="password" ><br/>
    <input type="submit" value="<fmt:message key="loginbtn"/>">
</form>

<a href="${pageContext.request.contextPath}/login?locale=zh_CN">中文</a> | <a href="${pageContext.request.contextPath}/login?locale=en_US">English</a>
</body>
</html>
